Page({
  data:{
    imgUrl:""
  },
  onLoad(){
    wx.request({
      url: 'https://www.yishuzi.cn/qianming/image.png?fsize=50&font=qmt.ttf&text=邓翔&mirror=no&color=ee1d24&vcolor=555&bgcolor=fff&alpha=yes&output=png&spacing=4&shadow=yes&transparent=yes&icon=no',
      responseType:"arraybuffer",
      success:(res)=>{
        let url = 'data:image/png;base64,' + wx.arrayBufferToBase64(res.data)
        console.log(res)
        this.setData({
          imgUrl:url
        })
      }
    })

  }
})